using UnityEngine;
using System.Collections;
namespace COC.CEvent
{
    public enum CEventType
    {
        DEFAULT_EVENT = 0x0000000,//NONE
        EVENT_MASK = 0xFFFF000,//purpose to format 8-bit,because default integer is 32 bit.




        /***************************UI EVENT*********************************************************/
        UI_EVENT = 0x0001000,//apply to execute UI,such UICamera

        /****************************UI EVENT********************************************************/




        /****************************NET EVENT********************************************************/

        NET_EVENT = 0x0002000,//apply for post message to network


        /****************************NET EVENT********************************************************/




        /****************************AUDIO EVENT********************************************************/

        AUDIO_EVENT = 0x0003000,//post message to audio system


        /****************************AUDIO EVENT********************************************************/




        /****************************VIDEO EVENT********************************************************/

        VIDEO_EVENT = 0x0004000,//post message to video system


        /****************************VIDEO EVENT********************************************************/




        /****************************CACHE EVENT********************************************************/

        CACHE_EVENT = 0x0005000,//about cache event
        CACHE_EVENT_ADD_OR_UPDATE_GAMEOBJECT_FLAG = CACHE_EVENT | 0x0000001,//post message that already instantiated game object to chache service,in order to retrieve and clone this game object if neccessary   

        CACHE_EVENT_REMOVE_GAMEOBJECT_FLAG = CACHE_EVENT|0x0000002,//post message that notify to remove game object if chached in chache list. 



        /****************************CACHE EVENT********************************************************/

    }
}
